package wrs.hcs.tc;

import java.util.Scanner;

public class Scenarios {

	
	public static void main(String[] args) throws Exception
	{
		Scanner scan = new Scanner(System.in);
		System.out.println(" "
				+ "1 = Single Inpatient Transaction "
				+ "\n 2 = Single Outpatient Transaction "
				+ "\n 3 = Pair Transaction "
				+ "\n 4 = Admitted Patient"
				+ "\n 5 = Pair with Guarantor"
				+ "\n 6 = Single with Guarantor"
				+ "\n 7 = Recycle PIN Test: WebApp-Single"
				+ "\n 8 = Recycle PIN Test: WebAdmin"
				+ "\n 9 = Recycle PIN Test: WebApp-Pair"
				+ "\n 10 = Create Single Inpatient No Pin: WebAdmin"
				+ "\n 11 = Create Single Inpatient With Pin: WebAdmin"
				+ "\n 12 = Create Single Outpatient No Pin: WebAdmin"
				+ "\n 13 = Occupied Room: WebAdmin"
				+ "\n 14 = WebAdmin : Inpatient + Online Package + Addon"
				+ "\n 15 = WebAdmin : Outpatient + Online Package + Addon"
				+ "\n 16 = WebAdmin : Inpatient + NonOnline Package + Addon"
				+ "\n 17 = WebAdmin : Outpatient + NonOnline Package + Addon"
				+ "\n 18 = WebAdmin : Pair + Online Package + Addon"
				+ "\n 19 = WebAdmin : Pair + NonOnline Package + Addon"
				+ "\n 20 = WebApp : Single + Inpatient + Addon"
				+ "\n 21 = WebApp : Single + Outpatient + Addon"
				+ "\n 22 = WebApp : Pair + Inpatient + Addon"
				+ "\n 23 = WebAdmin : Specially Endorsed Patients (SEP) Transaction"
				+ "\n 24 = WebApp : Specially Endorsed Patients (SEP) Transaction"
				+ "\n 25 = Senior Citizen : Not Required ID"
				+ "\n 26 = Create Single Outpatient With Pin: WebAdmin"
				+ "\n 27 = Create 2 in a Room Transaction No Pin: WebAdmin"
				+ "\n 28 = Create 2 in a Room Transaction With Pin: WebAdmin"
				+ "\n 29 = Cancel and Reactivate Transactions"
				+ "\n 30 = Transfer Record to Result Tracker : INVALID SCENARIO"
				);
		System.out.println("Please select a number that corresponds to the transaction.");
		String option = scan.nextLine();
		scan.close();
		
		if(option.equals("1")){
			WebApp_SinglePIN single = new WebApp_SinglePIN();
			single.transact();
		}
		else if(option.equals("2")){
			WebApp_OutPatientPIN out = new WebApp_OutPatientPIN();
			out.transact();
		}
		else if(option.equals("3")){
			WebApp_PairPIN p = new WebApp_PairPIN();
			p.transact();
		}
		else if(option.equals("4")){
			WebApp_Admitted admit = new WebApp_Admitted();
			admit.transact();
		}
		else if(option.equals("5")){
			WebApp_PairWithGuarantor pairWithGuarantor = new WebApp_PairWithGuarantor();
			pairWithGuarantor.transact();
		}
		else if(option.equals("6")){
			WebApp_SingleWithGuarantor singleWithGuarantor = new WebApp_SingleWithGuarantor();
			singleWithGuarantor.transact();
		}
		else if(option.equals("7")){
			WebApp_RecyclePIN pin = new WebApp_RecyclePIN();
			pin.transact();
		}
		else if(option.equals("8")){
			WebAdmin_RecyclePIN pin = new WebAdmin_RecyclePIN();
			pin.transact();
		}
		else if(option.equals("9")){
			WebApp_RecyclePair pin = new WebApp_RecyclePair();
			pin.transact();
		}
		else if(option.equals("10")){
			WebAdmin_SingleNoPin pin = new WebAdmin_SingleNoPin();
			pin.inpatient();
		}
		else if(option.equals("11")){
			WebAdmin_SingleWithPin pin = new WebAdmin_SingleWithPin();
			pin.transact();
		}
		else if(option.equals("12")){
			WebAdmin_SingleNoPin pin = new WebAdmin_SingleNoPin();
			pin.outpatient();
		}
		else if(option.equals("13")){
			WebAdmin_DuplicateRooms pin = new WebAdmin_DuplicateRooms();
			pin.inpatient();
		}
		else if(option.equals("14")){
			Transactions_WithAddOns pin = new Transactions_WithAddOns();
			pin.i_On_a();
		}
		else if(option.equals("15")){
			Transactions_WithAddOns pin = new Transactions_WithAddOns();
			pin.o_On_a();
		}
		else if(option.equals("16")){
			Transactions_WithAddOns pin = new Transactions_WithAddOns();
			pin.i_Non_a();
		}
		else if(option.equals("17")){
			Transactions_WithAddOns pin = new Transactions_WithAddOns();
			pin.o_Non_a();
		}
		else if(option.equals("18")){
			Transactions_WithAddOns pin = new Transactions_WithAddOns();
			pin.p_On_a();
		}
		else if(option.equals("19")){
			Transactions_WithAddOns pin = new Transactions_WithAddOns();
			pin.p_Non_a();
		}
		else if(option.equals("20")){
			Transactions_WithAddOns pin = new Transactions_WithAddOns();
			pin.swa_i_a();
		}
		else if(option.equals("21")){
			Transactions_WithAddOns pin = new Transactions_WithAddOns();
			pin.swa_o_a();
		}
		else if(option.equals("22")){
			Transactions_WithAddOns pin = new Transactions_WithAddOns();
			pin.pwa_i_a();
		}
		else if(option.equals("23")){
			SpeciallyEndorsedPatient pin = new SpeciallyEndorsedPatient();
			pin.webadmin();
		}
		else if(option.equals("24")){
			SpeciallyEndorsedPatient pin = new SpeciallyEndorsedPatient();
			pin.webapp();
		}	
		else if(option.equals("25")){
			WebApp_SinglePIN pin = new WebApp_SinglePIN();
			pin.senior();
		}
		else if(option.equals("26")){
			WebAdmin_SingleWithPin pin = new WebAdmin_SingleWithPin();
			pin.outpatient();
		}
		else if(option.equals("27")){
			WebAdmin_SingleNoPin pin = new WebAdmin_SingleNoPin();
			pin.pair();
		}
		else if(option.equals("28")){
			WebAdmin_SingleWithPin pin = new WebAdmin_SingleWithPin();
			pin.pair();
		}
		else if(option.equals("29")){
			WebApp_SinglePIN pin = new WebApp_SinglePIN();
			pin.cancelReactivate();
		}
		else if(option.equals("30")){
			WebAdmin_SingleWithPin pin = new WebAdmin_SingleWithPin();
			pin.tracker();
		}
		else{
			System.out.println("Invalid Input. Please rerun the jar file and input a valid number");
		}
		
	}
	
}
